import App from './App';
import Vue from 'vue';
import little from '@/little';
import VueCompositionAPI from '@vue/composition-api';
import uView from 'uview-ui';
import popup from 'components/popup/popup';
Vue.use(VueCompositionAPI);
Vue.use(uView);
Vue.component('popup', popup);
Vue.prototype.baseUrl = 'http://cdn.yczx.vip/tongluren/';
Vue.prototype.imgPath = 'imgs/';
// 引入公用的js
import $ from '@/assets/js.js'
Vue.prototype.$ = $

Vue.config.productionTip = false;
App.mpType = 'app';
Vue.use(little);
import Api from '@/common/globe.js';
Vue.prototype.$api = Api;
// const app = new Vue({
//   ...App,
// });
const app = new (typeof App === 'function' ? App : Vue.extend(Object.assign({ mpType: 'app' }, App)))();
app.$mount();
